ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.WIC Namespace / BitmapSource Class / CopyPixels Method / CopyPixels(Byte[],Int32) Method
The destination array. The size of the array must be sizeof(pixel) * Width * Height
The stride (number of bytes per row).

In This Topic
    CopyPixels(Byte[],Int32) Method
    In This Topic

    Instructs the object to produce pixels.

    Syntax
    'Declaration
     
    Public Overloads Sub CopyPixels( _
       ByVal output() As System.Byte, _
       ByVal stride As System.Integer _
    ) 
    public void CopyPixels( 
       System.byte[] output,
       System.int stride
    )

    Parameters

    output
    The destination array. The size of the array must be sizeof(pixel) * Width * Height
    stride
    The stride (number of bytes per row).
    See Also